#include"Texture2D.h"

/////////////////
//include
/////////////////

/////////////////
//prottype
/////////////////

/////////////////
//const
/////////////////


Texture2D::Texture2D(ID3D11ShaderResourceView* resource,float width,float height)
{
	this->resource = resource;
	this->width = width;
	this->height = height;
}
Texture2D::~Texture2D()
{
}
ID3D11Buffer* Texture2D::GetBuffer()
{
	return buffer;
}
ID3D11ShaderResourceView* Texture2D::GetShaderResourceView()
{
	return resource;
}